package cn.outsourcing.supermarket.vo.backstage;

import cn.outsourcing.supermarket.vo.ProductSpecificationVO;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author gzkemays
 * @since 2021/11/3 20:26
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class BackstageAllGoodsVO {
  private Integer id;

  private Integer categoryId;

  private Boolean isOnSale;

  private String name;

  private Integer goodsNumber;

  /** 销售量 */
  private Integer sellVolume;

  private String keywords;

  /** 零售价格 */
  private String retailPrice;

  private BigDecimal minRetailPrice;

  private String costPrice;

  private BigDecimal minCostPrice;

  private String goodsBrief;

  private String goodsDesc;

  private Integer sortOrder;

  private Boolean isIndex;

  private Integer isNew;

  /** 商品单位 */
  private String goodsUnit;

  /** 商品https图 */
  private String httpsPicUrl;

  /** 商品列表图 */
  private String listPicUrl;

  private Integer freightTemplateId;

  private Integer freightType;

  private Integer isDelete;

  private String categoryName;
  private List<ProductSpecificationVO> product;
}
